Remove gtk_widget_size_allocate from gtk_menu_popup_for_device
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 May 2013 16:06:05 +0000 (12:06 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 May 2013 16:06:05 +0000 (12:06 -0400)
commit1800dc470910960508d902624f0daf856d4bcc5c
tree5fddcce319c6a1346fa41c64bfd31d4258e6eddb
parent434dfc20c7403e21046d3a9935992c8bf58e4525
Remove gtk_widget_size_allocate from gtk_menu_popup_for_device

GtkMenu calls gtk_widget_size_allocate on its GtkWindow during
gtk_menu_popup_for_device if the menu has not been realised. This can cause the
allocation of the GtkWindow and the size of the GdkWindow to become out of sync
because a top level GtkWindow does not attempt to re-size the GdkWindow when
its allocation is set.
https://bugzilla.gnome.org/show_bug.cgi?id=695120
gtk/gtkmenu.c